import request from '../request'

enum configApiEnum {
  dictionariesFindDropDown = 'baseservice/Dictionaries/findDropDown',
  dataDictionaryList = 'auth/common/dataDictionary/list',
}

/** base--> 获取字典下拉 */
export const dictionariesFindDropDown = (data?: any) => request.GET<dictionaryType[]>({ url: configApiEnum.dictionariesFindDropDown, data })

/** auth-> 字典下拉（用户类型1，性别2） */
export const commonDataDictionaryList = (data: any): Promise<any> => request.POST({ url: configApiEnum.dataDictionaryList, data }) //
